package com.lsy.mapper.interf;

import com.lsy.entity.Interest;
import com.lsy.entity.InterestExample;
import com.lsy.entity.InvestCustom;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface InterestMapper {
    int countByExample(InterestExample example);

    int deleteByExample(InterestExample example);

    int deleteByPrimaryKey(Integer interestid);

    int insert(Interest record);

    int insertSelective(Interest record);

    List<Interest> selectByExample(InterestExample example);

    Interest selectByPrimaryKey(Integer interestid);

    int updateByExampleSelective(@Param("record") Interest record, @Param("example") InterestExample example);

    int updateByExample(@Param("record") Interest record, @Param("example") InterestExample example);

    int updateByPrimaryKeySelective(Interest record);

    int updateByPrimaryKey(Interest record);
    
    int sureRecive(int[] investIds);
    
    int sureReciveByInvestId(int investId);
    
    int findNewestInterestByInvestId(int investId);
    
    List<Interest> findList();
}